//
//  date.m
//  test
//
//  Created by 何锦坤 on 15/8/3.
//  Copyright (c) 2015年 何锦坤. All rights reserved.
//

#import "date.h"

@implementation date

+(NSDate*) convertDateFromString:(NSString*)uiDate
{
    NSDateFormatter *formatter = [[NSDateFormatter alloc] init] ;
    [formatter setDateFormat:@"yyyy年MM月dd日"];
    NSDate *date=[formatter dateFromString:uiDate];
    return date;
}

@end
